package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 故障配置对象 sys_config_error
 * 
 * @author ruoyi
 * @date 2022-05-11
 */
public class SysConfigError extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long errorId;

    /** 故障名 */
    @Excel(name = "故障名")
    private String name;

    /** 故障位置 */
    @Excel(name = "故障位置")
    private String location;

    public void setErrorId(Long errorId) 
    {
        this.errorId = errorId;
    }

    public Long getErrorId() 
    {
        return errorId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("errorId", getErrorId())
            .append("name", getName())
            .append("location", getLocation())
            .toString();
    }
}
